//
//  DefaultAddressCell.m
//  MaiMaiGo
//
//  Created by 孙鹏飞 on 2017/4/11.
//  Copyright © 2017年 qian. All rights reserved.
//

#import "DefaultAddressCell.h"

@interface DefaultAddressCell ()

@end

@implementation DefaultAddressCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)defaultBtnClicked:(id)sender { // 设置默认按钮点击
    _setDefaultBtn.selected = !_setDefaultBtn.isSelected;
    MyLog(@"%d",_setDefaultBtn.selected);
    if ([_delegate respondsToSelector:@selector(DefaultAddressCellDidClickedDefaultBtn:)]) {
        [_delegate DefaultAddressCellDidClickedDefaultBtn:self];
    }
}


@end
